using System;
using System.Collections.Generic;
using System.Text;
using Ghasam.Business.DTO;
using Ghasam.Business.Domain.Entity;
using System.Collections;
namespace Ghasam.Business.Services
{
   public interface IStockService
    {
       void StockSaveOrUpadate(string name, string binnumber, string serial, int quantity, int orderPoint, int status, string description, DateTime? importdate, DateTime? modifydate);

       void StockHistorySaveOrUpadate(int stockId, int employeeid,int status ,DateTime? exitDate, DateTime? returnDate, string usageDescription, string description, DateTime? modifydate);
       
       void StockUpdate(int id, int quantity);

       void Delete(int stockid, string name);

       IList<Stock> FindAll();

       IList<Stock> FindStock(string name, string binnumber, string serial, int? status, DateTime? importdate);

       IList<StockHistory> FindStockHistory(string name, string binnumber, string serial, int? status,  int? employeeid, DateTime? exitDate, DateTime? returnDate);

       IList<StockStatus> FindAllState();

       IList<UsageDescription> FindAllDescription();

       IList<Stock> FindOrderPoint();
    }
}
